*{
    margin: 0;
    padding: 0;
}
.main-left-li-active{
    color: rgb(114, 114, 236);
    background-color: rgb(187, 223, 238);
    border-right: 1px solid rgb(114, 114, 236);
}
body{
    background-color: #E4E7ED;
    width: 100%;
    min-width: 600px;
    header{
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
        background-image: linear-gradient(to right ,rgb(59, 59, 243) 0%,rgb(34, 178, 235) 100%);
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        #hd-left{
            display: flex;
            align-items: center;
            #logo{
                display: flex;
                flex-wrap: wrap;
                width: 69px;
                justify-content: center;
                box-sizing: border-box;
                padding: 7px 0;
                #hd-logo-top{
                width: 30px;
                height: 30px;
                }
                #hd-logo-down{
                    width: 69px;
                    height: 15px;
                }
            }
           
            span{
                padding-left: 50px;
                font-size: 14px;
                color: #fff;
                font-weight: 800;
            }
        }
        #hd-right{
            width: 20%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            #hd-touxiang,#hd-news,#hd-setting{
            width: 10%;
            margin: 0 10px;
            }
            #hd-chose{
                position: relative;
                #hd-select{
                background-color: transparent;
                outline: none;
                border: none;
                color: #fff;
                }
                #xialacaidan{
                    list-style: none;
                    position: absolute;
                    display: flex;
                    flex-wrap: wrap;
                    top: 37px;
                    left: -35px;
                    color: #000;
                    li{
                        cursor: pointer;
                        background-color: #fff;
                        width: 170px;
                        height: 50px;
                        line-height: 43px;
                        font-size: 14px;
                        padding-left: 30px;
                        box-sizing: border-box;
                    }
                }
            }
        }
        
        
    }
    main{
        width: 100%;
        display: flex;
        justify-content: space-between;
        #main-left{
            background-color: #fff;
            width: 230px;
            ul{
                text-align: center;
                border-bottom:1px solid #ddd;
                font-size: 14px;
                cursor: default;
                #main-left-sy{
                    padding-right: 33%;
                }
                li{
                    height: 50px;
                    line-height: 50px;
                    &:not(:nth-of-type(1)):hover{
                        color: rgb(114, 114, 236);
                        background-color: rgb(213, 244, 255);
                        border-right: 1px solid rgb(114, 114, 236);
                    }
                }
                li:nth-of-type(1){
                    box-sizing: border-box;
                    padding-right: 20%;
                    img{
                        vertical-align: middle;
                        margin-right: 10px;
                    }
                }
                #main-left-sy:hover{
                        color: rgb(114, 114, 236);
                        background-color: rgb(213, 244, 255);
                        border-right: 1px solid rgb(114, 114, 236);
                }
            }
            
        }
        #main-right{
            flex-grow: 1;
            height: 1000px;
            // background-color: skyblue;
            margin-left: 1%;
        }
    }
}

#mainBox{
    width: 90%;
    margin: 0 auto;
    margin-top: 2%;
    // background-color: white;

    #page{
        text-align: right;
        box-sizing: border-box;
        .spans{
            display: inline-block;
            width: 25px;
            height: 25px;
            border-radius: 3px;
            border: 1px solid gray;
            text-align: center;
            background-color: white;
            margin: 1% .3%;
            cursor: pointer;
        }
        select{
            height: 25px;
        }
        .pageBox{
            display: inline;
        }
       
    }
    .put{
        background-color: #409EFF;
        display: inline-block;
        height: 45px;
        width: 110px;
        text-align: center;
        border-radius: 5px;
        line-height: 45px;
        cursor: pointer;
        font-size: 16px;
        font-weight: normal;
        color: white;
        margin-bottom: 1%;
    }
}
#headBox{
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: flex-end;
    box-sizing: border-box;
    padding: 1%;

    height: 80px;
    #addSupply{
        width: 130px;
        height: 40px;
        background-color: rgb(22, 45, 250);
        text-align: center;
        color: white;
        border-radius: 5px;
        line-height: 40px;
        cursor: pointer;
    }
    #findSupply{
        input,#searchBtn,#choose{
            vertical-align: middle;
        }
        input{
            width: 234px;
            height: 36px;
            border:1px solid rgb(209, 197, 197);
        }
        #searchBtn,#choose{
            display: inline-block;
            height: 38px;
            width: 35px;
            background-color: rgb(22, 45, 250);
            text-align: center;
            display: inline-flex;
            justify-content: center;
            flex-wrap: wrap;
            align-content: center;
        }
       
    }
}
#tb-box{
    width: 100%;
    box-sizing: border-box;
    padding: 0 .5%;
    table{
        width: 100%;
        min-width: 840px;
        background-color: white;
        box-sizing: border-box;
        th{
            border: 1px solid rgba(231, 244, 248, 0.7);
            padding: .5%;
            background-color: rgba(231, 244, 248, 0.7);
        }
        td{
            text-align: center;
            border: 1px solid rgba(233, 242, 245, 0.7);
            padding: 1% 0;
            input{
                width: 80px;
                height: 30px;
            }
        }
    }
    #save{
        background-color:rgba(7, 191, 132, 1);
        color: white;
        margin-top: 1%;
        margin-right: 1%;
        display: inline-block;
        height: 45px;
        width: 110px;
        text-align: center;
        border-radius: 5px;
        line-height: 45px;
        cursor: pointer;
    }
    #back{
        background-color: #F2F6FC;
        display: inline-block;
        height: 45px;
        width: 110px;
        text-align: center;
        border-radius: 5px;
        line-height: 45px;
        cursor: pointer;
    }
    .changeSupplier,.delSupplier,.changePack,.delPack,.changeState,.thingChange,.thingDel,
    .joinPackDel,.joinPackSet,.outPackDel{
        color:blue;
        cursor: pointer;
    }
}
#choosePack{
     width: 90%; 
     height: 35px;  
}
.a-main{
    width: 70%;
    // background-color: pink;
    margin-bottom: 1%;
    .a-m-box{
        display: flex;
        justify-content: space-between;
        margin: 1% 0;
        input{
            width: 220px;
            height: 33px;
        }
        select{
            width: 220px;
            height: 35px;
        }
    }
    .a-m-box:nth-child(1){
        width: 95%;
    }
    textarea{
        width: 90%;
        vertical-align: middle;
        height: 100px;
    }
    #user{
        width: 30%;
    }
}
.addThing{
    background-color: white;
    width: 60vw;
    height: 90vh;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    z-index: 2222;
    border-radius: 15px;
    box-sizing: border-box;
    padding: 1%;
    h4{
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid rgba(160, 155, 155,.3);
        box-sizing: border-box;
        padding: 1% 0;
        margin-bottom: 1%;
    }
    .close{
        transform: scale(1.5);
        cursor: pointer;
    }
    .searchThing{
        margin-bottom: 1%;
        input{
            width: 250px;
            height: 33px;
            margin-right: 2%;
            border: 1px solid rgba(160, 155, 155,.6);
        }
        span{
            display: inline-block;
            height: 45px;
            width: 110px;
            text-align: center;
            border-radius: 5px;
            line-height: 45px;
            cursor: pointer;
            background-color: #409EFF;
            color: white;
        }
    }
    table{
        width: 100%;
        margin-bottom: 1%;
        border: 1px solid rgba(160, 155, 155,.3);
        th{
           padding: 1%; 
           border: 1px solid rgba(160, 155, 155,.3);
           background-color: rgba(160, 155, 155,.1);
        }
        th:nth-child(1){
            min-width: 20px;
        }
        tbody{
            td{
                text-align: center;
                padding: 1%;
                border: 1px solid rgba(160, 155, 155,.3);
            }
        }
    }
    .footerP{
        text-align: right;
        span{
            display: inline-block;
            height: 45px;
            width: 110px;
            text-align: center;
            border-radius: 5px;
            line-height: 45px;
            cursor: pointer;
            background-color: #409EFF;
            color: white;
        }
        span:nth-child(1){
            background-color:rgba(7, 191, 132, 1);
        }
        span:nth-child(2){
            background-color:rgba(242, 242, 242, 1);
            color: black;
        }
    }
}
.getThing{
    // background-color: pink;
    h4{
        border-bottom: 1px solid rgba(160, 154, 154,.5);
        padding: 1% 2%;
        box-sizing: border-box;
        .h4-add{
            display: inline-block;
            height: 45px;
            width: 110px;
            text-align: center;
            border-radius: 5px;
            line-height: 45px;
            cursor: pointer;
            background-color:rgba(7, 191, 132, 1);
            color: white;
            margin-left: 1%;
        }
    }
    .h4-box{
        margin-bottom: 2%;
    }
    .message{
        width: 80%;
        display: flex;
        justify-content: space-between;
        p{
            width: 120px;
            padding: 10% 0;
        }
    }
    .m-box1{
        display: flex;
        
        .box1{
            text-align: right;
            margin-right: 5%;
        }
    }
    .m-box2{
        display: flex;
        .box3{
            text-align: right;
            margin-right: 5%;
        }
    }
}
#findHead{
    margin-bottom: 2%;
    select{
        height: 35px;
        width: 240px;
    }
    input{
        height: 33px;
        width: 240px;
    }
    .findBtn{
        display: inline-block;
        height: 45px;
        width: 110px;
        text-align: center;
        border-radius: 5px;
        line-height: 45px;
        cursor: pointer;
        background-color: #409EFF;
        color: white;
    }
}
#m-main{
    width: 90%;
    // background-color: pink;
    margin: 0 auto;
    table{
        width: 90%;
        td{
            padding: 1% 0;
            input{
                width: 90%;
                height: 33px;
            }
            textarea{
                width:  90%;
                height: 100px;
            }
        }
        td:nth-child(1){
            text-align: right;
            width: 12%;
        }
       span{
            display: inline-block;
            height: 45px;
            width: 110px;
            text-align: center;
            border-radius: 5px;
            line-height: 45px;
            cursor: pointer;

        }
        #save{
            background-color: #67C23A;
            color: white;
            margin-right: 3%;
        }
        #back{
            background-color: #F2F6FC;
        }
    }
}

.changeMain{
    background-color: white;
    width: 45vw;
    height: 600px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    z-index: 2;
    border-radius: 15px;
    box-sizing: border-box;
    table{
        width: 100%;
        box-sizing: border-box;
        td{
            padding: 2%;
        }
        td:nth-child(1){
            text-align: right;
            width: 25%;
        }
        input{
            width: 80%;
            height: 35px;
            font-size: 16px;
        }
        textarea{
            width: 80%;
            height: 100px;
            font-size: 16px;
        }
        .change,.goBack{
        display: inline-block;
        height: 45px;
        width: 110px;
        text-align: center;
        border-radius: 5px;
        line-height: 45px;
        cursor: pointer;
        background-color:rgba(7, 191, 132, 1);
        color: white;
        }
        .goBack{
            background-color: #409EFF;
        }
    }
}
#packChange{
    .changeHome{
        width: 81%;
    }
}

.jumpInput{
    width: 23px;
    height: 23px;
    text-align: center;
    margin: 0 .4%;
}

.adds{
    width: 130px;
        height: 40px;
        background-color: rgb(22, 45, 250);
        text-align: center;
        color: white;
        border-radius: 5px;
        line-height: 40px;
        cursor: pointer;
}
.active{
    display: none;
}

.btnClass{
    display: inline-block;
    height: 45px;
    width: 110px;
    text-align: center;
    border-radius: 5px;
    line-height: 45px;
    cursor: pointer;
    background-color: #409EFF;
    background-color:rgba(7, 191, 132, 1);
    color: white;
}